import { Pipe, PipeTransform } from '@angular/core'


@Pipe({
  name: 'bcoin'
})
export class Bcoin implements PipeTransform {
  	transform(value: string, ...args): string {
	    if(value == 'BTC') 
	      	return '比特币';
	    if(value == 'WKB')
	     	return '玩客币'
	    if(value == 'ETH')
	      	return '以太坊'
  	}
}

